import request from '@/utils/request'
export function addUser(data) {
  return request({
    url: 'http://localhost:9090/sysUser/add',
    method: 'post',
    data: data
  })
}

export function updateUser(data) {
  return request({
    url: 'http://localhost:9090/sysUser/edit',
    method: 'put',
    data: data
  })
}

